package server.core.base;

import java.io.Serializable;

public abstract class EntityBase implements Serializable{
	private long id=server.core.base.IdGenerator.generateID();
	public long getId(){
		return id;
	}
	public boolean equals(Object o){
		if(!(o instanceof EntityBase))
			return false;
		return ((EntityBase)o).id==id;
	}
	private static final long serialVersionUID=910226;
}
